package com.small.springframework.context;

import java.util.EventListener;

/**
 * @Author zhoujin
 * @Date 2022/4/10 14:12
 */

public interface ApplicationListener<E extends ApplicationEvent> extends EventListener {

    /**
     * Handle an application event.
     * @param event the event to respond to
     */
    void onApplicationEvent(E event);

}
